
package model;

import java.awt.Color;
import java.awt.Font;

import javax.swing.JLabel;
import javax.swing.text.BadLocationException;
import javax.swing.text.DefaultHighlighter;
import javax.swing.text.Document;
import javax.swing.text.Highlighter;
import javax.swing.text.JTextComponent;

import view.MainPanel;

/**
 *
 * @author Larissa
 */
public class FormatModel {
    
    public void ocultaRegua(JLabel regua) {
        if (regua.isVisible()) {
            regua.setVisible(false);
            regua.setEnabled(false);
        } else {
            regua.setVisible(true);
            regua.setEnabled(true);
        }
    }
}
